package com.loanapp.server.user.api.user.hystrix;


import com.loanapp.base.common.exception.BusinessException;
import com.loanapp.server.user.api.user.api.UserApi;
import com.loanapp.server.user.api.user.entity.User;
import com.loanapp.server.user.api.user.query.UserQuery;
import org.springframework.stereotype.Component;

@Component
public class UserHystrix implements UserApi {

    public User getUser(Long id) throws BusinessException {
        return null;
    }

    public Long insert(User user) throws BusinessException {
        return null;
    }

    public User selectByQuery(UserQuery query) throws BusinessException {
        return null;
    }

    public Boolean del(Long id) throws BusinessException {
        return null;
    }

    public Boolean update(User user) throws BusinessException {
        return null;
    }

    public Long login(String userName, String pwd) throws BusinessException {
        return null;
    }
}
